add_compile_options(-mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard)
add_link_options(-mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard)
add_definitions(-DSTM32F401xC)
set(platformSeries stm32f4xx)
set(startupFile ${platformDir}/startup_stm32f401xc.s)
set(linkScript ${platformDir}/STM32F401RCTx_FLASH.ld)
set(platformHalDir ${PROJECT_SOURCE_DIR}/Drivers/STM32F4xx_HAL_Driver)
set(platformCMSISDir ${PROJECT_SOURCE_DIR}/Drivers/CMSIS/Device/ST/STM32F4xx)
